package io.renren.modules.answer.dto.input;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Author liangbaigao
 * @Date 2022/10/6 16:54
 */
@Data
public class QuestionAnswerInput {

    @NotNull
    @ApiModelProperty(value = "问卷id",required = true)
    private Long questionId;

    @NotBlank
    @ApiModelProperty(value = "问卷名称",required = true)
    private String questionName;

    @ApiModelProperty(value = "题目",required = true)
    private List<TopicInput> questionTopics;

}
